package com.hottv.meeting.videomeeting.common;

import io.agora.rtc.video.VideoEncoderConfiguration;

/**
 * Created by chengwenqiang on 2019/5/29.
 */

public class MeetingConfig {

//    public static String TAG_LOG ="MeetingVideo";

    public static String ACTION_KEY_USER_ID ="USER_ID";
    public static String ACTION_KEY_ROOM_ID ="ROOM_ID";

    public static String ACTION_KEY_USER_TYPE ="USER_TYPE";

    public static String TAG = "MeetingTag";

    public static String ACTION_EXTRA_DATA = "MeetingDATA";

    public static int  BROADCASTER_TYPE= 1;
    public static int  AUDIENCE_TYPE= 2;

    //权限设置
    public static final int BASE_VALUE_PERMISSION = 0X0001;
    public static final int PERMISSION_REQ_ID_RECORD_AUDIO = BASE_VALUE_PERMISSION + 1;
    public static final int PERMISSION_REQ_ID_CAMERA = BASE_VALUE_PERMISSION + 2;
    public static final int PERMISSION_REQ_ID_WRITE_EXTERNAL_STORAGE = BASE_VALUE_PERMISSION + 3;

    public static VideoEncoderConfiguration.VideoDimensions[] VIDEO_DIMENSIONS = new VideoEncoderConfiguration.VideoDimensions[] {
            VideoEncoderConfiguration.VD_160x120,
            VideoEncoderConfiguration.VD_320x180,
            VideoEncoderConfiguration.VD_320x240,
            VideoEncoderConfiguration.VD_640x360,
            VideoEncoderConfiguration.VD_640x480,
            VideoEncoderConfiguration.VD_1280x720
    };

    public static final int DEFAULT_PROFILE_IDX = 5;

    public static final int AUDIENCE_PROFILE_IDX = 3;

    //白板设置
    public static final String SCENE_DIR = "/dir";
    public static final String ROOM_INFO = "room info";
    public static final String ROOM_ACTION = "room action";
    public static final String EVENT_NAME = "WhiteCommandCustomEvent";
    public static final String EVENT_NAME_SCALE = "EVENT_NAME_SCALE";

    public static final int key_down_action = 20;

    public static final int key_up_action = 19;

    public static final int key_back_action = 4;

    public static final int key_channel_down_action = 167;

    public static final int key_channel_up_action = 166;

    public static final int ppt_width = 1340;
    public static final int ppt_heigh = 748;

    public static final  int MSG_NO_CALL = 1;

    public static final  String MeetingDATA = "MeetingDATA";

    public static final  String MeetingDATA_Incall = "MeetingDATA_Incall";

    public static final  String MeetingContact = "MeetingContact";


    //视频
    public static final  int TYPE_VIDEO = 1;
    //白板
    public static final  int TYPE_WHITE = 2;
    //邀请
    public static final  int TYPE_INVITE = 3;

    //声网最大人数
    public static final int MAX_NUM = 17;

}
